home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 296 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.4 KB  |  41 lines

  1. Path: ix.netcom.com!netnews
  2. From: nanninr@ix.netcom.com(Robert A. Nannini )
  3. Newsgroups: comp.lang.c++
  4. Subject: VC++ .dll creation
  5. Date: 3 Jan 1996 16:46:23 GMT
  6. Organization: Netcom
  7. Message-ID: <4cebsv$7h9@ixnews3.ix.netcom.com>
  8. NNTP-Posting-Host: ix-stl4-13.ix.netcom.com
  9. X-NETCOM-Date: Wed Jan 03  8:46:23 AM PST 1996
  10.  
  11. IÆm new to VC++ (v1.5 using Win 3.1), but have experience with Borland
  12. C++ (v4, also Win 3.1).
  13.  
  14. I have a project set up to create a .dll, which contains 2 .cpp, 2 .h,
  15. and a default .def file.  The header files each contain a single class
  16. with very few data members and function declarations (IÆm just trying
  17. to learn the VC++ way of doing things).
  18.  
  19. Each .cpp compiles cleanly, but upon linking, I get the following
  20. linker error:
  21.  
  22. ----------
  23. c:\msvc\mfc\lib\lafxdwd.lib(map_ss.cpp) : fatal error L1101: invalid
  24. object module
  25. Object file offset: dffe4 Record type: 9c
  26. LINK returned error code 2.
  27. ----------
  28.  
  29. Link.exe is found in c:\msvc\bin, which is in my PATH.  It is the only
  30. version of link.exe found on my PC.  The version is 5.60.220, which has
  31. a datetime stamp of 9/16/94, 2:00:00 p.m.  If MS uses the same
  32. timestamp construction for this that they do for DOS, it would seem
  33. that the linker is for VC++ 2.0.  Is this true?  If so, will it work
  34. with VC++ 1.5?  If this is the problem (or even if itÆs something else
  35. that IÆm doing wrong) please reply to this posting or email me
  36. personally with a response.  I appreciate your help.
  37.  
  38. bob
  39. nanninr@ix.netcom.com
  40.  
  41.